package com.ruoyi.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.admin.domain.Question;
import com.ruoyi.admin.model.request.QuestionReq;
import com.ruoyi.admin.model.response.QuestionInfoResp;

import java.util.List;

/**
 * (Question)表服务接口
 *
 * @author makejava
 * @since 2023-03-27 23:13:51
 */
public interface QuestionService extends IService<Question> {

    boolean saveQuestion(QuestionReq question);

    List<QuestionInfoResp> questionPage(Page page, Question question);

    List<QuestionInfoResp> questionList(Question questionReq);

}

